﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pata.SylkSharp.Core.Bll
{
    /// <summary>
    /// Enumerates possible types of records.
    /// </summary>
    public enum RecordType
    {
        /// <summary>
        /// ID Record, A header to identify spreadsheet type and creator. Must be first record in the file.
        /// </summary>
        ID,
        /// <summary>
        /// Cell format.
        /// If F records are present, precedes them.
        /// </summary>
        P,
        /// <summary>
        /// Tells number of rows and columns in the spreadsheet.
        /// Recommended that it come before C and F records
        /// </summary>
        B,
        /// <summary>
        /// Options
        /// </summary>
        O,
        /// <summary>
        /// Format.
        /// If P record(s) are present, follows them.
        /// </summary>
        F,
        /// <summary>
        /// Cell contents
        /// </summary>
        C,
        /// <summary>
        /// End of file.
        /// Must be last record
        /// </summary>
        E,
        /// <summary>
        /// File name substitution.
        /// If NE record(s) are present, must precede them.
        /// </summary>
        NU,
        /// <summary>
        /// External link
        /// </summary>
        NE,
        /// <summary>
        /// Defines names
        /// More efficient if NN appears before name use.
        /// </summary>
        NN,
        /// <summary>
        /// Window definitions
        /// </summary>
        W,
        /// <summary>
        /// Chart external link
        /// </summary>
        NL,
        /// <summary>
        /// Uknown record type.
        /// </summary>
        Unknown
    }
}
